package com.fintech.third.dao.sms;

import org.apache.ibatis.annotations.Param;

import com.fintech.third.model.sms.SmsTemplateNew;

public interface SmsTemplateNewMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SmsTemplateNew record);

    int insertSelective(SmsTemplateNew record);

    SmsTemplateNew selectByPrimaryKey(Long id);
    
    SmsTemplateNew selectByTemplateCode(@Param("contentTemplateKey")String contentTemplateKey,@Param("status")boolean status);

    int updateByPrimaryKeySelective(SmsTemplateNew record);

    int updateByPrimaryKeyWithBLOBs(SmsTemplateNew record);

    int updateByPrimaryKey(SmsTemplateNew record);
}